package com.windoent.yugioh.adapter.brvah;

import androidx.annotation.NonNull;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.windoent.yugioh.R;

/**
 * author : robert
 * date   : 2021/5/6 15:26
 * desc   :
 */
public class DemoAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public DemoAdapter() {
        super(R.layout.item_demo, null);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_demo, item);
    }
}